package com.flowerSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 鲜花遇上牛战士
 * @since 2023-08-28
 */
@ApiModel(value = "Collection对象", description = "")
public class Collection implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("产品信息表id")
    private Integer productinformationId;

    @ApiModelProperty("用户id")
    private Integer userId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductinformationId() {
        return productinformationId;
    }

    public void setProductinformationId(Integer productinformationId) {
        this.productinformationId = productinformationId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Collection{" +
            "id = " + id +
            ", productinformationId = " + productinformationId +
            ", userId = " + userId +
        "}";
    }
}
